package com.eric.ztea.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.eric.ztea.domain.Equipment;

public interface EquipmentRepository extends JpaRepository<Equipment, Long>{
	
	Equipment findById(Long id);
	
	Equipment findByName(String username);
}
